package com.power.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.power.domain.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysRoleService extends IService<SysRole>{


    List<SysRole> getlist();

    Page getPageList(Page<SysRole> page, String name);

    boolean saveSysRole(SysRole sysRole);

    SysRole getInfoById(Long id);

    boolean updateByIdMenu(SysRole sysRole);

    boolean removeBatchByIdsMenu(List<Long> ids);
}
